<%# helper/header.html %>
<div id="main">
    <% if(this.authorlist.info){ var infodes = this.authorlist.info; %>
        <div class="author">
            <div class="author_up">
                <div class="photo">
                    <img src="<%= infodes.thumb %>" alt="">
                </div>
                <div class="word">
                    <span><%= infodes.nickname %></span>
                    <span><%= infodes.identity %></span>
                </div>
            </div>
            <div class="author_down">
                <h2>介绍</h2>
                <span><%= infodes.description %></span>
            </div>
        </div>
    <% } %>
        <div id="newest">
            <h2>最新</h2>
            <div class="content-item">
                <div class="lists" id="authorpage" temId="j-tmpl-authorpage">

                </div>
            </div>
        </div>
        <div id="nomore">
            已经没有了
        </div>
</div>

<script id="j-tmpl-authorpage" type="text/template">
    {{ for(var i = 0; i < it.list.length; i++){ }}
    <a class="item" href="veryside://link?type={{=it.list[i].type}}&id={{=it.list[i].id}}">
        <div class="index-img lazy" data-original="{{=it.list[i].thumb}}"></div>
        <div class="img-des-block">
            <p>{{=it.list[i].tag}}</p>
            <p>{{=it.list[i].title}}</p>

        </div>
        <div class="heart-num">
            <span></span>
            <em>{{=it.list[i].loves}}</em>
        </div>
    </a>
    {{ } }}
</script>

<%# helper/footer.html %>
